//
//  ViewController.h
//  quanminzhekou
//
//  Created by zxl on 15/1/4.
//  Copyright (c) 2015年 zhongqinglongtu. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "BaseTableView.h"
#import "CommonEngine.h"

typedef NS_ENUM(NSInteger, ViewControllerType) {
    ViewControllerNormalType,
    ViewControllerLoadingType,
    ViewControllerNoNetWorkType,
};

@interface ViewController : UIViewController <UIScrollViewDelegate, RefreshDropdownViewDelegate, ReloadMoreDropupViewDelegate>

@property (nonatomic, weak) IBOutlet BaseTableView* tableView;

@property (nonatomic, strong) EngineModel* engineModel;

@property (nonatomic, strong) UIView* noNetView;
@property (nonatomic, strong) UIView* loadingView;

@property (nonatomic, assign) ViewControllerType viewControllerType;

- (void)updateData;

- (void)finishRefreshData;
- (void)finishReloadMoreDataWithIsEnd:(BOOL)isEnd;

@end

